export default [
  {
    path: '/',
    component: '../layouts/BlankLayout',
    routes: [
      {
        path: '/user',
        component: '../layouts/UserLayout',
        routes: [{
          name: 'login',
          path: '/user/login',
          component: './User/login',
        },],
      },
      {
        path: '/',
        component: '../layouts/SecurityLayout',
        routes: [{
          path: '/',
          component: '../layouts/BasicLayout',
          routes: [
            // {
            //     path: '/',
            //     redirect: '/Home',
            // },
            {
              name: '首页',
              icon: 'smile',
              path: '/',
              component: './Home',
              hideInMenu: true
            },
            {
              name: '会员设置',
              icon: 'smile',
              path: '/VipManagement',
              routes: [
                {
                  name: '会员管理',
                  icon: 'smile',
                  path: '/VipManagement/VipModule',
                  component: './VipManagement/VipModule',
                }, // {
                //   name: '会员提现记录',
                //   icon: 'smile',
                //   path: '/VipManagement/ReflectManagement',
                //   component: './VipManagement/ReflectManagement',
                // },
                {
                  name: '会员消费记录',
                  icon: 'smile',
                  path: '/VipManagement/RechargeManagement',
                  component: './VipManagement/RechargeManagement',
                },
                {
                  name: '会员消费记录',
                  icon: 'smile',
                  path: '/VipManagement/RecordsManagement',
                  component: './VipManagement/RecordsManagement',
                },
                {
                  name: '会员积分记录',
                  icon: 'smile',
                  path: '/VipManagement/PointsManagement',
                  component: './VipManagement/PointsManagement',
                },
                {
                  name: '每日积分',
                  icon: 'smile',
                  path: '/VipManagement/IntegralDay',
                  component: './VipManagement/IntegralDay',
                },
                {
                  name: '会员退款记录',
                  icon: 'smile',
                  path: '/VipManagement/VipRefund',
                  component: './VipManagement/VipRefund',
                },
                {
                  name: '归档账户',
                  icon: 'smile',
                  path: '/VipManagement/DayAccount',
                  component: './VipManagement/DayAccount',
                },
                {
                  name: '退货退款记录',
                  icon: 'smile',
                  path: '/VipManagement/RefundData',
                  component: './RefundData',
                },
              ],
            },
            {
              name: '短信设置',
              icon: 'smile',
              path: '/NoteManagement',
              routes: [
                {
                  name: '短信模板',
                  icon: 'smile',
                  path: '/NoteManagement/SmsTemplate',
                  component: './NoteManagement/SmsTemplate',
                },
                {
                  name: '短信变量属性',
                  icon: 'smile',
                  path: '/NoteManagement/VariableProperties',
                  component: './NoteManagement/VariableProperties',
                },
                {
                  name: '短信变量类映射',
                  icon: 'smile',
                  path: '/NoteManagement/ClassMapping',
                  component: './NoteManagement/ClassMapping',
                },
                {
                  name: '短信发送记录',
                  icon: 'smile',
                  path: '/NoteManagement/SendRecord',
                  component: './NoteManagement/SendRecord',
                },
              ],
            },
            {
              name: '店铺管理',
              icon: 'smile',
              path: '/StoreManagement',
              // component: './StoreManagement',
              routes: [
                {
                  name: '店铺列表',
                  icon: 'smile',
                  path: '/StoreManagement/StoreList',
                  component: './StoreManagement/StoreList',
                },
                {
                  name: '店长列表',
                  icon: 'smile',
                  path: '/StoreManagement/MasterList',
                  component: './StoreManagement/MasterList',
                  hideInMenu: true,
                },
                {
                  name: '统计',
                  icon: 'smile',
                  path: '/StoreManagement/Dashboard',
                  component: './StoreManagement/Dashboard',
                  hideInMenu: true,
                },
                {
                  name: '店铺统计',
                  icon: 'smile',
                  path: '/StoreManagement/StoreAnalysis',
                  component: './StoreManagement/StoreAnalysis',
                },
                {
                  name: '店铺预存统计',
                  icon: 'smile',
                  path: '/StoreManagement/StoreRecharge',
                  component: './StoreManagement/StoreRecharge',
                },
                {
                  name: '销售人员业绩统计',
                  icon: 'smile',
                  path: '/StoreManagement/SalesAll',
                  component: './StoreManagement/SalesAll',
                },
                {
                  name: '身份确认记录',
                  icon: 'smile',
                  path: '/StoreManagement/IdentityConfirm',
                  component: './StoreManagement/IdentityConfirm',
                },
              ],
            },
            {
              name: '店员管理',
              icon: 'smile',
              path: '/ClerkManagement',
              component: './ClerkManagement',
            },
            {
              name: '职位管理',
              icon: 'smile',
              path: '/PositionManagement',
              component: './PositionManagement',
            },
            {
              name: '部门管理',
              icon: 'smile',
              path: '/DepartmentManagement',
              component: './DepartmentManagement',
            },
            {
              name: '销售管理',
              icon: 'smile',
              path: '/StuffManagement/',
              routes: [
                {
                  name: '员工管理',
                  icon: 'smile',
                  path: '/StuffManagement/UserManagement',
                  component: './StuffManagement/UserManagement',
                },
                {
                  name: '经销商管理',
                  icon: 'smile',
                  path: '/StuffManagement/DistributorMangagement',
                  component: './StuffManagement/DistributorMangagement',
                },
              ],
            },
            {
              name: '商品管理',
              icon: 'smile',
              path: '/CommodityManagement',
              routes: [
                {
                  name: '品牌',
                  icon: 'smile',
                  path: '/CommodityManagement/BrandManagement',
                  component: './CommodityManagement/BrandManagement',
                },
                {
                  name: '商品',
                  icon: 'smile',
                  path: '/CommodityManagement/Commodity',
                  component: './CommodityManagement/Commodity',
                },
                {
                  name: '商品品项',
                  icon: 'smile',
                  path: '/CommodityManagement/CommodityItems',
                  component: './CommodityManagement/CommodityItems',
                },
                {
                  name: '商品属性',
                  icon: 'smile',
                  path: '/CommodityManagement/CommodityAttributes',
                  component: './CommodityManagement/CommodityAttributes',
                },
                {
                  name: '商品分类',
                  icon: 'smile',
                  path: '/CommodityManagement/CommodityClassification',
                  component: './CommodityManagement/CommodityClassification',
                },
                {
                  name: '临期商品',
                  icon: 'smile',
                  path: '/CommodityManagement/TemporaryCommodity',
                  component: './CommodityManagement/TemporaryCommodity',
                },
                {
                  name: '上库审核',
                  icon: 'smile',
                  path: '/CommodityManagement/StockAudit',
                  component: './CommodityManagement/StockAudit',
                },
              ],
            },
            {
              name: '银行信息',
              icon: 'smile',
              path: '/BankManagement',
              component: './BankManagement',
            },
            {
              name: '订单管理',
              icon: 'smile',
              path: '/OrderManagement',
              routes: [
                {
                  name: '店铺订单查询',
                  icon: 'smile',
                  path: '/OrderManagement/StoreOrder',
                  component: './OrderManagement/StoreOrder',
                },],
            },
            {
              name: '活动管理',
              icon: 'smile',
              path: '/ActivityManagement',
              routes: [
                {
                  name: '赠品管理',
                  icon: 'smile',
                  path: '/ActivityManagement/Giveaway',
                  component: './ActivityManagement/Giveaway',
                },
                {
                  name: '生活超市',
                  icon: 'smile',
                  path: '/ActivityManagement/MarketActivity',
                  routes: [
                    {
                      name: '充值活动',
                      icon: 'smile',
                      path: '/ActivityManagement/MarketActivity/RechargeActivity',
                      component: './ActivityManagement/MarketActivity/RechargeActivity',
                    },
                    {
                      name: '套餐活动',
                      icon: 'smile',
                      path: '/ActivityManagement/MarketActivity/PackageActivity',
                      component: './ActivityManagement/MarketActivity/PackageActivity',
                    },
                    {
                      name: '套餐活动订单',
                      icon: 'smile',
                      path: '/ActivityManagement/MarketActivity/PackageActivityOrder',
                      component: './ActivityManagement/MarketActivity/PackageActivityOrder',
                    },
                  ]
                },
                {
                  name: '惠民购',
                  icon: 'smile',
                  path: '/ActivityManagement/AppActivity',
                  routes: [
                    {
                      name: '消费活动',
                      icon: 'smile',
                      path: '/ActivityManagement/AppActivity/ConsumeActivity',
                      component: './ActivityManagement/AppActivity/ConsumeActivity',
                    },
                    {
                      name: '充值活动',
                      icon: 'smile',
                      path: '/ActivityManagement/AppActivity/RechargeActivity',
                      component: './ActivityManagement/AppActivity/RechargeActivity',
                    },
                  ]
                },
              ],
            },
            {
              name: '视频管理',
              icon: 'smile',
              path: '/VideoManagement',
              routes: [
                {
                  name: '视频审核',
                  icon: 'smile',
                  path: '/VideoManagement/VideoCheck',
                  component: './VideoManagement/VideoCheck',
                },
                {
                  name: '评论审核',
                  icon: 'smile',
                  path: '/VideoManagement/VideoComment',
                  component: './VideoManagement/VideoComment',
                },
              ],
            },
            {
              name: '结算管理',
              icon: 'smile',
              path: '/SettlementManagement',
              routes: [
                {
                  name: '商超结算',
                  icon: 'smile',
                  path: '/SettlementManagement/SupermarketSettlement',
                  component: './SettlementManagement/SupermarketSettlement',
                },
                {
                  name: '分账管理',
                  icon: 'smile',
                  path: '/SettlementManagement/LklCents',
                  component: './SettlementManagement/LklCents',
                },
              ],
            },
            {
              name: '库存管理',
              icon: 'smile',
              path: '/StockManagement',
              routes: [
                {
                  name: '归档库存',
                  icon: 'smile',
                  path: '/StockManagement/DayStock',
                  component: './StockManagement/DayStock',
                },
                {
                  name: '赠品领取记录',
                  icon: 'smile',
                  path: '/StockManagement/DeliverRecord',
                  component: './StockManagement/DeliverRecord',
                },
              ],
            },
            {
              name: '供应链管理',
              icon: 'smile',
              path: '/SupplyChainManagement',
              routes: [
                {
                  name: '店铺盘点',
                  icon: 'smile',
                  path: '/SupplyChainManagement/StockCheck',
                  component: './SupplyChainManagement/StockCheck',
                },
                {
                  name: '仓库管理',
                  icon: 'smile',
                  path: '/SupplyChainManagement/WarehouseManagement',
                  routes: [
                    {
                      name: '仓库列表',
                      icon: 'smile',
                      path: '/SupplyChainManagement/WarehouseManagement/Warehouse',
                      component: './SupplyChainManagement/WarehouseManagement/Warehouse',
                    },
                    {
                      name: '库存列表',
                      icon: 'smile',
                      path: '/SupplyChainManagement/WarehouseManagement/StockList',
                      component: './SupplyChainManagement/WarehouseManagement/StockList',
                    },
                    {
                      name: '变动记录',
                      icon: 'smile',
                      path: '/SupplyChainManagement/WarehouseManagement/StockRecord',
                      component: './SupplyChainManagement/WarehouseManagement/StockRecord',
                    },
                    {
                      name: '仓库盘点',
                      icon: 'smile',
                      path: '/SupplyChainManagement/WarehouseManagement/WarehouseStockCheck',
                      component: './SupplyChainManagement/WarehouseManagement/WarehouseStockCheck',
                    },
                    {
                      name: '成品入库',
                      icon: 'smile',
                      path: '/SupplyChainManagement/WarehouseManagement/InStock',
                      component: './SupplyChainManagement/WarehouseManagement/InStock',
                    },
                    {
                      name: '门店退货',
                      icon: 'smile',
                      path: '/SupplyChainManagement/WarehouseManagement/ReportLoss',
                      component: './SupplyChainManagement/WarehouseManagement/ReportLoss',
                    },
                  ],
                },
                {
                  name: '采购管理',
                  icon: 'smile',
                  path: '/SupplyChainManagement/PurchaseManagement',
                  routes: [
                    {
                      name: '地采',
                      icon: 'smile',
                      path: '/SupplyChainManagement/PurchaseManagement/PurchaseList',
                      routes: [
                        {
                          name: '采购单',
                          icon: 'smile',
                          path: '/SupplyChainManagement/PurchaseManagement/PurchaseList/OrderList',
                          component: './SupplyChainManagement/PurchaseManagement/PurchaseList/OrderList',
                        },
                        {
                          name: '供应商列表',
                          icon: 'smile',
                          path: '/SupplyChainManagement/PurchaseManagement/PurchaseList/SupplierList',
                          component: './SupplyChainManagement/PurchaseManagement/PurchaseList/SupplierList',
                        },
                      ]
                    },
                    {
                      name: '统采',
                      icon: 'smile',
                      path: '/SupplyChainManagement/PurchaseManagement/UnifyPurchase',
                      routes: [
                        {
                          name: '采购单',
                          icon: 'smile',
                          path: '/SupplyChainManagement/PurchaseManagement/UnifyPurchase/UnifyPurchaseList',
                          component: './SupplyChainManagement/PurchaseManagement/UnifyPurchase/UnifyPurchaseList',
                        },
                        {
                          name: '出库单',
                          icon: 'smile',
                          path: '/SupplyChainManagement/PurchaseManagement/UnifyPurchase/StockOrder',
                          component: './SupplyChainManagement/PurchaseManagement/UnifyPurchase/StockOrder',
                        },
                      ]
                    },
                    {
                      name: '直销',
                      icon: 'smile',
                      path: '/SupplyChainManagement/PurchaseManagement/OldSale',
                      routes: [
                        {
                          name: '采购单',
                          icon: 'smile',
                          path: '/SupplyChainManagement/PurchaseManagement/OldSale/OrderList',
                          component: './SupplyChainManagement/PurchaseManagement/OldSale/OrderList',
                        },
                        {
                          name: '客户列表',
                          icon: 'smile',
                          path: '/SupplyChainManagement/PurchaseManagement/OldSale/SupplierList',
                          component: './SupplyChainManagement/PurchaseManagement/OldSale/SupplierList',
                        },
                      ]
                    },
                    {
                      name: '原材料',
                      icon: 'smile',
                      path: '/SupplyChainManagement/PurchaseManagement/Stuff',
                      routes: [
                        {
                          name: '采购单',
                          icon: 'smile',
                          path: '/SupplyChainManagement/PurchaseManagement/Stuff/OrderList',
                          component: './SupplyChainManagement/PurchaseManagement/Stuff/OrderList',
                        },
                        {
                          name: '出库单',
                          icon: 'smile',
                          path: '/SupplyChainManagement/PurchaseManagement/Stuff/StockOrder',
                          component: './SupplyChainManagement/PurchaseManagement/Stuff/StockOrder',
                        },
                        {
                          name: '供应商列表',
                          icon: 'smile',
                          path: '/SupplyChainManagement/PurchaseManagement/Stuff/SupplierList',
                          component: './SupplyChainManagement/PurchaseManagement/Stuff/SupplierList',
                        },
                      ]
                    },
                  ],
                },
                {
                  name: '审批账号',
                  icon: 'smile',
                  path: '/SupplyChainManagement/Approved',
                  component: './SupplyChainManagement/Approved',
                },
              ],
            },
            {
              name: '系统管理',
              icon: 'edit',
              path: '/SystemSetting',
              routes: [
                {
                  name: '权限管理',
                  icon: 'smile',
                  path: '/SystemSetting/PermissionSetting',
                  routes: [{
                    name: '资源菜单管理',
                    icon: 'smile',
                    path: '/SystemSetting/PermissionSetting/MenuManagement',
                    component: './SystemSetting/PermissionSetting/MenuManagement',
                  },
                    {
                      name: '角色管理',
                      icon: 'smile',
                      path: '/SystemSetting/PermissionSetting/RoleManagement',
                      component: './SystemSetting/PermissionSetting/RoleManagement',
                    },
                  ],
                },
                {
                  name: '支付渠道',
                  icon: 'smile',
                  path: '/SystemSetting/PayManagement',
                  routes: [{
                    name: '第三方支付渠道',
                    icon: 'smile',
                    path: '/SystemSetting/PayManagement/PayChannel',
                    component: './SystemSetting/PayManagement/PayChannel',
                  },
                    {
                      name: '第三方支付配置明细',
                      icon: 'smile',
                      path: '/SystemSetting/PayManagement/ConfigurationDetails',
                      component: './SystemSetting/PayManagement/ConfigurationDetails',
                    },
                  ],
                },
                {
                  name: '数据字典',
                  icon: 'smile',
                  path: '/SystemSetting/DataDitionary',
                  component: './SystemSetting/DataDictionary',
                },
                {
                  name: '系统日志',
                  icon: 'smile',
                  path: '/SystemSetting/SystemLog',
                  component: './SystemSetting/SystemLog',
                },
                {
                  name: '系统配置',
                  icon: 'smile',
                  path: '/SystemSetting/SystemConfig',
                  component: './SystemSetting/SystemConfig',
                },
                {
                  name: '小程序首页配置',
                  icon: 'smile',
                  path: '/SystemSetting/AppletConfig',
                  component: './SystemSetting/AppletConfig',
                },
                {
                  name: '积分管理',
                  icon: 'smile',
                  path: '/SystemSetting/IntegralManagement',
                  routes: [{
                    name: '积分JOB',
                    icon: 'smile',
                    path: '/SystemSetting/IntegralManagement/IntegralJob',
                    component: './SystemSetting/IntegralManagement/IntegralJob',
                  },
                    {
                      name: '积分赠送规则',
                      icon: 'smile',
                      path: '/SystemSetting/IntegralManagement/IntegralRule',
                      component: './SystemSetting/IntegralManagement/IntegralRule',
                    }
                  ],
                },
                {
                  name: '惠民购配置',
                  icon: 'smile',
                  path: '/SystemSetting/WmpManagement',
                  routes: [{
                    name: '首页轮播',
                    icon: 'smile',
                    path: '/SystemSetting/WmpManagement/Index',
                    component: './SystemSetting/WmpManagement/Index',
                  },
                  ],
                },
              ],
            },
            {
              name: '分步表单',
              icon: 'smile',
              path: '/CommodityManagement/CommodityCreatingSteps',
              component: './CommodityManagement/CommodityCreatingSteps',
            },
          ],
        },],
      },
    ],
  },
  {
    component: './404',
  },
];
